package com.example.easypoi.config;


import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Knife4jConfig {


    @Bean
    public GroupedOpenApi defaultApiGroup() {
        return GroupedOpenApi.builder()
                .group("默认分组") // 分组名称
                .packagesToScan("com.example.controller") // 替换为实际接口的包路径
                .build();
    }

}
